package com.example.design.factory.simple;

import com.example.design.factory.Car;

/**
 * @author ebnew
 */
public class SimpleFactoryTest {

	public static void main(String[] args) {

		//这里模仿消费者
		Car car = new SimpleFactory().getCar("Audi");
		System.out.println(car.getName());
		
	}
	
}
